class DriverDailyIncome {
  String sumPrice;
  String sumOther;
  String sumBasic;
  String sumSubsidy;

  DriverDailyIncome({this.sumPrice, this.sumOther, this.sumBasic, this.sumSubsidy});

  DriverDailyIncome.fromJson(Map<String, dynamic> json) {
    sumPrice = json['sum_price'];
    sumOther = json['sum_other'];
    sumBasic = json['sum_basic'];
    sumSubsidy = json['sum_subsidy'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['sum_price'] = this.sumPrice;
    data['sum_other'] = this.sumOther;
    data['sum_basic'] = this.sumBasic;
    data['sum_subsidy'] = this.sumSubsidy;
    return data;
  }
}
